import request from '@/utils/request'

export function itBeanGetAll() {
  return request({
    url: 'http://localhost:8003/api/itBeans',
    method: 'get'
  })
}

export function itBeanGetByWorkId(workId) {
  return request({
    url: 'http://localhost:8003/api/itBeans/' + workId,
    method: 'post',
    workId
  })
}
